package com.ruoyi.common.exception.backendEnum;

public enum EcologicalDataException {

    ECOLOGICAL_DATA_NOT_FOUND(400,"没有找到该生态参量数据"),
    ECOLOGICAL_ID_FOR_DATA_NOT_EXIST(400,"生态参量ID对应的数据记录不存在");


    private final int code;
    private final String message;

    EcologicalDataException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }

}
